
package main

import (
	"fmt"
)

func main() {
	a := "qwertyuioplkjhggfdaszxcvbnm王"
	b := "wangguodongpl,okmnjiuhbgygvftcrdxeswaqaz王"
	fmt.Println(equalGroup(a, b))
}

func equalGroup(a, b string) bool {
	t1 := []rune(a)
	t2 := []rune(b)
	for _, n1 := range t1 {
		var r = false
		for _, n2 := range t2 {
			if (n1 == n2) {
				r = true
			}
		}
		if (!r) {
			return r
		}
	}
	return true
}